package com.itheima.dao.impl;

import com.itheima.dao.ClazzDao;
import com.itheima.pojo.Student;

import java.util.List;

public class ClazzImpl implements ClazzDao {
    List<Student> students;

    public void setStudents(List<Student> students) {
        this.students = students;
    }

    @Override
    public void findAll() {
        System.out.println(students.toString());
    }
}
